//
//  WBOAuthViewController.swift
//  传智微博
//
//  Created by Pro on 2017/8/22.
//  Copyright © 2017年 liuyanwei. All rights reserved.
//

import UIKit

class WBOAuthViewController: UIViewController {

    private lazy var webView = UIWebView()

    override func loadView() {
        view = webView
        view.backgroundColor = UIColor.white

        title = "登录新浪微博"

        navigationItem.leftBarButtonItem = UIBarButtonItem.init(title: "返回", target: self, action: #selector(close), isBack: true)
    }

    override func viewDidLoad() {
        super.viewDidLoad()


    }

    @objc private func close() {
        dismiss(animated: true, completion: nil)
    }

}
